package com.ricky.onlineShop.shop.trading.repository;

import com.ricky.base.repository.BaseRepository;
import com.ricky.onlineShop.shop.trading.pojo.TradingFile;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TradingFileRepository extends BaseRepository<TradingFile, String> {
    List<TradingFile> findByMainId(String mainId);
    void deleteAllByMainId(String mainId);

}
